package cn.com.tiptop.license.entity;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author qing
 * @since 2017-10-26
 */
@TableName("tb_secret_key")
public class SecretKey extends Model<SecretKey> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
	private Long id;
    /**
     * uuid
     */
	private String uuid;
    /**
     * 产品型号
     */
	@TableField("product_number")
	private String productNumber;
    /**
     * 私钥
     */
	@TableField("private_key")
	private String privateKey;
    /**
     * 状态
     */
	private Integer status;
    /**
     * 新建时间
     */
	@TableField("create_time")
	private Date createTime;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUuid() {
		return uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	public String getProductNumber() {
		return productNumber;
	}

	public void setProductNumber(String productNumber) {
		this.productNumber = productNumber;
	}

	public String getPrivateKey() {
		return privateKey;
	}

	public void setPrivateKey(String privateKey) {
		this.privateKey = privateKey;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "SecretKey{" +
			"id=" + id +
			", uuid=" + uuid +
			", productNumber=" + productNumber +
			", privateKey=" + privateKey +
			", status=" + status +
			", createTime=" + createTime +
			"}";
	}
}
